home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
BBS
/
DUPER141.ARJ
/
DUPER.DOC
< prev
next >
Wrap
Text File
|
1992-04-15
|
4KB
|
93 lines
╒═══════════════════════════════════════════════════════════════╕
│ ╔════ │
│ ║ │
│ ╚═══╗ ║ ║ │
│ ║ ║ ║ ╠═╗ ═╦═ ║ │
│ ════╝ ╚═╣ ╚═╝ ═╩═ ╚═ WARE │
│ ║ by boB Gage │
│ ══╝ Available on Sybil BBS │
│ (703) 951-2708 300 - 2400 baud │
│ HST/v32bis for registered users │
│ Duper - Duplicate Message Reporting Utility │
╘═══════════════════════════════════════════════════════════════╛
Duper does not find, remove, or pack out duplicate messages. What it
does do is check your PCBPack log to find what messages were duplicates,
and then your caller's logs to find out WHO left them. One or messages
are left in a conference of your choice listing the duplicate messagers.
This program was designed specifically for Jim Fouch of Sleepy Hollow
BBS for use in tracking excessive duplicating nodes in U'NI-net/US.
Duper is called from the command line with NO parameters. It assumes
that PCBPack has already been run, and the caller's logs have not yet
been purged. It may take re-arranging your event slightly to get
Duper to work properly. All control of Duper is thru the
configuration file, Duper.CFG.
The format for the config file (Duper.CFG name is hardcoded) is fairly
relaxed. There are 14 config variables, these must each be assigned using
variable=value format (examples below). Eight of the fourteen variables are
required, they are:
BBS=BBS name (must match registration exactly!)
REG=registration code (must match given code exactly!)
PackLog = path & filename of PCBpack log file
CallLog = path & filename of caller logs (no node number!)
NumNodes = number of caller logs to process
MsgBase = PCB message file to post message to
MsgText = path & filename of text file containing body of msg sent by Duper
LogFile = path & filename of Duper log file
There are also six optional variables. These are ONLY active in the
registered version of Duper. They all apply to the message sent by Duper.
The defaults are listed, they will be used if either the variable is
missing from the config file, or Duper is unregistered.
MsgSubj = Subject of message def: Duplicate Messages
MsgFrom = From field of message def: Duper 1.4
MsgEcho = Y or N Echo message? def: Yes
MsgPrivate = Y or N Reciever only? def: No
OneMsg = Y or N Single msg style? def: Yes
The following switches only apply if you are using the multiple message style
(ie ONEMSG=N):
MinDupes = # of dupes before sending a message def: 1
PrivSumm = Y or N Include sysop-only summary message def: Y
There's a sample Duper.CFG in this packet, you can use it as a guide.
A couple things about the configuration for the message(s) left.
There's two ways you can do it.
1) You can set it up to leave a single message to ALL with the text
from the file named in line 11, followed by a blank line, and then one
or more lines saying so-and-so left this many dupes. One person per
line. The last line will have the number of "unknown source" dupes.
Don't use a # in the text file, as it will be replaced with a zero.
OR
2) You can leave a message to each and every duper. This message
would include just the text file named in line 11. Any occurance of #
in the text file will be replaced with the number of dupes left by that
caller. This scheme will leave an addition private message to SYSOP
stating the number of "unknown source" dupes, unless the PrivSumm switch
is set to N.
As you can see in the configuration file layout, you have full control
over the message header.
Once you've modified the config file and the message text file to suit
your purposes, just run Duper with no parameters. Duper.CFG MUST be
in the current directory when you run Duper.
If you have any problems, give me a call!
boB Gage
(703) 951-8449 300-2400 free access node
(703) 953-0665 HST/v32bis Registered users only